<?php

class Bid_IndexController extends My_Controller_Action
{

    public function init()
    {
        parent::init();
		$this->_helper->_layout->setLayout('1column');
    }

    public function indexAction()
    {
    	$model = $this->loadModel('bid','Product');
    	$select = $model->select()->where('active=?',1);
		$this->view->products = $model->fetchAll($select);
    }
}

